package com.jhx.video.module

import android.app.Application
import com.tencent.bugly.crashreport.CrashReport
import com.tencent.rtmp.TXLiveBase

/**
 *
 * @author Jack 2018-03-06 13:13
 */
class VideoModule {

    companion object {
        fun init(app: Application) {
            TXLiveBase.setConsoleEnabled(true)
            val strategy = CrashReport.UserStrategy(app)
            strategy.appVersion = TXLiveBase.getSDKVersionStr()
            CrashReport.initCrashReport(app, strategy)
        }
    }
}